package com.zijie.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.order.model.Order;
import com.zijie.order.model.search.OrderSearchBean;

import java.util.List;

public interface OrderService {
    Page<Order> findAll (Page<Order> page, OrderSearchBean osb);
    int deleteByIds(List<Integer> ids);
    int deleteById(Integer id);
    Order findById(Integer id);
    boolean save(Order order);
    boolean update(Order oder);
    boolean fahuo(Integer id);
//11
    boolean songda(Integer id);

    List<Order> findAll2(OrderSearchBean osb);
}